var _city=new Array(33);

 _city[0]=new Array(["请选择省份","哈哈"],[1,101]);

 _city[1]=new Array(["北京","北京首都机场PEK"],[2,201]);
 
 _city[2]=new Array(["天津","天津滨海机场TSN"],[3,301]);
 
 _city[3]=new Array(["上海","上海虹桥机场SHA","上海浦东机场PVG"],[4,401,402]);
 
 _city[4]=new Array(["重庆","重庆江北机场CKG"],[5,501]);
 
 _city[5]=new Array(["福建","厦门高崎机场XMN","福州长乐机场FOC"],[6,6001,6002]);
 
 _city[6]=new Array(["甘肃","敦煌机场DNH"],[7,701]);
 
 _city[7]=new Array(["贵州","贵阳龙洞堡机场KWE"],[8,801]);
 
 _city[8]=new Array(["广东","广州白云机场CAN","深圳宝安机场SZX","珠海三灶机场ZUH","汕头外砂机场SWA","湛江机场ZHA"],[9,901,902,903,904,905]);
 
 _city[9]=new Array(["广西","桂林两江机场KWL","北海福城机场BHY"],[10,1001,1002]);
 
 _city[10]=new Array(["河北","秦皇岛机场SHP"],[11,1101]);
 
 _city[11]=new Array(["河南","郑州新郑机场CGO"],[12,1201]);
 
 _city[12]=new Array(["湖北","武汉天河机场WUH"],[13,1301]);
 
 _city[13]=new Array(["湖南","长沙黄花机场CSX"],[14,1401]);
 
 _city[14]=new Array(["海南","海口美兰机场HAK","三亚凤凰机场SYX"],[15,1501,1502]);
 
 _city[15]=new Array(["黑龙江","哈尔滨太平机场HRB"],[16,1601]);
 
 _city[16]=new Array(["吉林","长春龙家堡机场CGQ"],[17,1701]);

 _city[17]=new Array(["江苏","南京禄口机场NKG","连云港白塔埠机场LYG"],[18,1801,1802]);
 
 _city[18]=new Array(["辽宁","大连周水子机场DLC","沈阳桃仙机场SHE"],[19,1901,1902]); 
 
 _city[19]=new Array(["拉萨","拉萨贡嘎机场LXA"],[20,2001]);
 
 _city[20]=new Array(["宁夏","银川河东机场INC"],[21,2101]);

 _city[21]=new Array(["内蒙古","包头二里半机场BAV","呼和浩特白塔机场HET"],[22,2201,2202]);
 
 _city[22]=new Array(["青海","西宁曹家堡机场XNN"],[23,2301]);

 _city[23]=new Array(["四川","成都双流机场CTU"],[24,2401]);
 
 _city[24]=new Array(["山东","青岛流亭机场TAO"],[25,2501]);
 
 _city[25]=new Array(["山西","太原武宿机场TYN"],[26,2601]);
 
 _city[26]=new Array(["陕西","西安咸阳机场XIY"],[27,2701]);

 _city[27]=new Array(["新疆","乌鲁木齐地窝堡机场URC"],[28,2801]);
 
 _city[28]=new Array(["云南","昆明巫家坝机场KMG"],[29,2901]);
  
 _city[29]=new Array(["浙江","杭州萧山机场HGH","宁波栎社机场NGB"],[30,3001,3002]);
  
 _city[30]=new Array(["香港","香港赤喇角机场HKG"],[31,3101]);
   
 _city[31]=new Array(["澳门","澳门机场MFM"],[32,3201]);
 
 _city[32]=new Array(["全部机场","北京首都机场PEK","天津滨海机场TSN","上海虹桥机场SHA","上海浦东机场PVG","重庆江北机场CKG","厦门高崎机场XMN","福州长乐机场FOC","敦煌机场DNH","贵阳龙洞堡机场KWE","广州白云机场CAN","深圳宝安机场SZX","珠海三灶机场ZUH","汕头外砂机场SWA","湛江机场ZHA","桂林两江机场KWL","北海福城机场BHY","秦皇岛机场SHP","郑州新郑机场CGO","武汉天河机场WUH","长沙黄花机场CSX","海口美兰机场HAK"," 三亚凤凰机场SYX","哈尔滨太平机场HRB","长春龙家堡机场CGQ","南京禄口机场NKG","连云港白塔埠机场LYG","大连周水子机场DLC","沈阳桃仙机场SHE","拉萨贡嘎机场LXA","银川河东机场INC","包头二里半机场BAV","呼和浩特白塔机场HET","西宁曹家堡机场XNN","成都双流机场CTU","青岛流亭机场TAO","太原武宿机场TYN","西安咸阳机场XIY","乌鲁木齐地窝堡机场URC","昆明巫家坝机场KMG","杭州萧山机场HGH","宁波栎社机场NGB","香港赤喇角机场HKG","澳门机场MFM"],[33,3301,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,3338,3339,3340,3341,3342,3343]);
 

 function loadProvince(id)

 {
  var obj=document.getElementById(id);

  for(var i=0;i<_city.length;i++)
  {

   if(_city[i])
   {
    obj.options[obj.length]=new Option(_city[i][0][0],_city[i][1][0]);
   }
  }

 }

 

 function loadCity(obj,id)

 {

  var obj1=document.getElementById(id);

  var index=obj.selectedIndex;

  obj1.length=0;

  for(var i=1;i<_city[index][0].length;i++)

   obj1.options[obj1.length]=new Option(_city[index][0][i],_city[index][1][i]);

  obj1.selectedIndex=0;

 }
